export default {
  filters: {
    filterGrouperNames(filters) {
      if (!filters) {
        return ''
      }
      const mapping = {
        app_channel: '渠道',
        app_version: '版本',
        app_name: '包名',
        tags: '标签',
        gender: '性别'
      }
      const result = []
      filters.forEach(item => {
        result.push(mapping[item] || item)
      })
      return result.join(',')
    }
  }
}
